﻿<?xml version="1.0" encoding="utf-8"?>
<Recipe Name="CreateBEFromDBVB" xmlns="http://schemas.microsoft.com/pag/gax-core" xmlns:xi="http://www.w3.org/2001/XInclude" Bound="false">
  <DocumentationLinks>
    <Link Kind="Documentation" Caption="How to: Create Business Entities from a Database" Url="ms-help://MS.VSCC.v80/MS.VSIPCC.v80/ms.wssf.2006Dec/WSSF/html/10-070-How_to_Create_Business_Entities_from_a_Database.htm" />
    <Link Kind="NextStep" Caption="Create Data Repository Classes (VB)" Url="recipe://CreateDataRepositoryVB" />
  </DocumentationLinks>
  <xi:include href="../Common/CommonTypeAliases.xml" xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Types)" />
  <Caption>Create business entities from database (VB)</Caption>
  <Description>Create business entities from database (VB)</Description>
  <HostData>
    <Icon ID="7654" />
    <CommandBar Menu="Project" />
  </HostData>
  <Arguments> 
    <xi:include href="../Common/CreateBEfromDBCommon.xml" xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/Recipe/gax:Arguments/gax:Argument)" />
    <Argument Name="RecipeLanguage" Type="System.String">
      <ValueProvider Type="Evaluator" Expression="VB"/>
    </Argument>
  </Arguments>
  
  <GatheringServiceData>
    <!--
    <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0" Help="ms-help://MS.VSCC.v80/MS.VSIPCC.v80/ms.wssf.2006Dec/WSSF/html/10-070-Create_Business_Entities_from_a_Database.htm">
      <xi:include href="../Common/CreateBEfromDBCommon.xml"
         xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-wizards) 
				xpointer(/Recipe/gax:GatheringServiceData/gax:Wizard/gax:Pages)" />
    </Wizard>
    -->
    <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0" Help="ms-help://MS.VSCC.v80/MS.VSIPCC.v80/ms.wssf.2006Dec/WSSF/html/10-070-Create_Business_Entities_from_a_Database.htm">
      <Pages xmlns:xi="http://www.w3.org/2001/XInclude">
        <xi:include href="../Common/CommonConnectionStringWizardPages.xml" xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xmlns(gaxw=http://schemas.microsoft.com/pag/gax-wizards) xpointer(/gax:Recipe/gax:GatheringServiceData/gaxw:Wizard/gaxw:Pages/gaxw:Page)" />
        <Page>
          <Title>Namespace Selection</Title>
          <LinkTitle>Namespace Selection</LinkTitle>
          <Help>Determine the project folder where Business Entities will be created. Defaults to BusinessEntities</Help>
          <Fields>
            <Field Label="Business Entities Namespace" ValueName="BusinessEntityClassNamespace">
              <Tooltip>Business Entities Namespace</Tooltip>
            </Field>
            <!--
            <Field Label="Business Entities Folder" ValueName="BusinessEntitiesProjectFolder">
              <Tooltip>Business Entities Folder</Tooltip>
            </Field>
            -->
          </Fields>
        </Page>
        <Page Type="Microsoft.Practices.RepositoryFactory.CustomPages.EntitiesTablesSelectorCP, Microsoft.Practices.RepositoryFactory"  Height="440" Width="550">
          <Title>Data tables properties</Title>
          <LinkTitle>Specify Tables</LinkTitle>
          <Help>Specify the tables that you want to create the business entities from.</Help>
        </Page>
        <Page Type="Microsoft.Practices.RepositoryFactory.CustomPages.EntitiesSelectorCP, Microsoft.Practices.RepositoryFactory">
          <Title>Business entities properties</Title>
          <LinkTitle>Customize business entities</LinkTitle>
          <Help>Customize the business entities that you want to create.</Help>
        </Page>
      </Pages>
    </Wizard>
  </GatheringServiceData>
  <Actions>
    <xi:include href="../Common/CreateBEfromDBCommon.xml"
         xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) 
				xpointer(/Recipe/gax:Actions/gax:Action)" />
  </Actions>
</Recipe>